#ifndef _KX_TempChange_H_
#define _KX_TempChange_H_
/*---------------------------------------------------------------------------------------------------------*/
typedef struct
{
    unsigned int U16_TempNode;                                   //温度节点
    unsigned int U16_TempNodeAdcValue;                           //温度节点AD值
}TEMP_STRUCT;
/*---------------------------------------------------------------------------------------------------------*/
// 定义常量
#define    TEMPERATURE_SCALE_FACTOR        10
#define    TEMPERATURE_ROUNDING_OFFSET     5
#define    TABLE_SIZE(table)               (sizeof(table) / sizeof(table[0]))
/*---------------------------------------------------------------------------------------------------------*/
extern unsigned int GET_TEMPERATURE(unsigned int adcResult, TEMP_STRUCT *tab,unsigned char u8_tabsize);
/*---------------------------------------------------------------------------------------------------------*/
#endif 
